<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>@yield('title') - {{$systeminfo['site_name']}}</title>
<meta name="description" content="{{$systeminfo['description']}}">
<meta name="keywords" content="{{$systeminfo['keywords']}}">
<link href="{{ asset('/addons/flatui/css/flat-ui.css') }}" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="{{ asset('/addons/bootstrap/css/bootstrap.min.css') }}" >
<link rel="stylesheet" type="text/css" href="{{ asset('/addons/bootstrap-dialog/css/bootstrap-dialog.min.css') }}" />
<link rel="stylesheet" type="text/css" href="{{ asset('/js/Font-Awesome-3.2.1/css/font-awesome.min.css') }}">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
    <script src="{{ asset('/js/html5shiv.min.js') }}"></script>
    <script src="{{ asset('/js/respond.min.js') }}"></script>
<![endif]-->
<script src="{{ asset('/js/jquery-2.1.4.min.js') }}"></script>
<script src="{{ asset('/js/lib/jquery-ui.min.js')}}"></script>
<script src="{{ asset('/addons/flatui/js/flat-ui.min.js') }}"></script>
<!-- <script src="{{ asset('/addons/bootstrap/js/bootstrap.min.js') }}"></script> -->
<script src="{{ asset('/addons/bootstrap-dialog/js/bootstrap-dialog.min.js') }}"></script>
<script type="text/javascript"src="{{ asset('/addons/layer/layer.js')}}"></script>
<link rel="stylesheet" type="text/css" href="{{ asset('/css/front.css') }}">
<link rel="stylesheet" type="text/css" href="{{ asset('/css/employ/list.css') }}" />
<link rel="stylesheet" type="text/css" href="{{ asset('/css/employ/index.css') }}" />
<link rel="stylesheet" type="text/css" href="{{ asset('/css/index.css') }}">
<script src="{{asset('/js/require.js')}}"></script>
<script src="{{asset('/js/app/config.js')}}"></script>
<script src="{{ asset('/js/common.js') }}"></script>
<script src="{{ asset('/js/company/search.js') }}"></script>
<link href="{{ asset('/css/company/jobs.css') }}" rel="stylesheet" type="text/css">
<!-- uploadify 上传组件 -->
<link rel="stylesheet" type="text/css" href="{{ asset('/js/uploadify/uploadify.css') }}">
<script src="{{ asset('/js/uploadify/jquery.uploadify.min.js') }}"></script>
</head>
<body>
<!--头部-->
    @section('header')
    <div class="header">
        <div class="header-main">
            <div class="logo float-l">
                <a href="{{ url('/') }}">
                    <img src="{{asset('/images/front/sy/logo.png')}}">
                </a>
            </div>
            <div class="header-content float-l">
                <div class="header-search">
                    <div id="jobs_searchsort">
                        <div class="selectedsort">
                            <span class="itemName" id="itemName" name="itemName">类别</span>
                            <span class="sortico"></span>
                        </div>
                        <div class="searchsortlist">
                            <div class="searchItem">文章</div>
                            <div class="searchItem">机构</div>
                            <div class="searchItem">课程</div>
                            <div class="searchItem">职位</div>
                            <div class="searchItem">企业</div>
                        </div>
                    </div>
                    <input type="text"   id="jobs_keyword" style="width:77%;" name="keyword" placeholder="搜索课程、公司等关键词" value=""/>
                    <input type="submit" id="jobs_searchbtn" value="" />
                </div>
                <script type="text/javascript">JobsSearch();</script>
            </div>
            <div class="header-user float-l margin-l-30">
                <div class="user-icon float-l" @if(!empty($authuser)) @if($authuser->group_id == 2) onclick="CompanyUrl()" @else onclick="MemberUrl()" @endif @endif>
                    @if(!empty($authuser))
                    <img src="{{ userlogo($authuser->id,'small') }}" alt="">
                    @else
                    <img src="{{asset('/images/front/sy/geren.png')}}" alt="">
                    @endif
                     @if($unread>0)<div class="tips">{{$unread}}</div>@endif     
                </div>
                <div class="down-trip float-r">
                    <img src="{{asset('/images/front/sy/xiala.png')}}" alt="">
                </div>
                 @if(!empty($authuser))
                @if($authuser->group_id == 3)
                <ul class="dropdown-menu-user">
                    <li><a href="{{url('/member/resume')}}"><i class="icon-user"></i>&nbsp;&nbsp;我的简历</a></li>
                    <li class="bodertop"><a href="{{url('/member/delivery')}}"><i class="icon-folder-close"></i>&nbsp;&nbsp;我的工作</a></li>
                    <li class="bodertop"><a href="{{url('/member/index')}}"><i class="icon-upload-alt"></i>&nbsp;&nbsp;我的上传</a></li>
                    <li class="bodertop"><a href="{{url('/member/comments/index')}}"><i class="icon-comments"></i>&nbsp;&nbsp;我的评论</a></li>
                    <li class="bodertop">
                        <a href="{{url('/member/message')}}">
                            <i class="icon-envelope-alt"></i>&nbsp;&nbsp;我的私信
                            <span class="badge">{{ $unread?:'' }}</span>
                        </a>
                    </li>
                    <li class="bodertop"><a href="{{url('/member/account')}}"><i class="icon-cogs"></i>&nbsp;&nbsp;账号设置</a></li>
                    <li class="bodertop"><a href="/logout"><i class="icon-off"></i>&nbsp;&nbsp;退出</a></li>
                </ul>
                @elseif($authuser->group_id == 2)
                <ul class="dropdown-menu-user">
                    <li><a href="/company/center"><i class="icon-user"></i>&nbsp;&nbsp;企业管理</a></li>
                    <li class="bodertop"><a href="/company/center/jobs-all"><i class="icon-folder-close"></i>&nbsp;&nbsp;全部职位</a></li>
                    <li class="bodertop"><a href="/company/center/resume-all"><i class="icon-upload-alt"></i>&nbsp;&nbsp;全部简历</a></li>
                    <li class="bodertop"><a href="/company/center/comments-all"><i class="icon-comments"></i>&nbsp;&nbsp;全部评论</a></li>
                    <li class="bodertop clearfix">
                        <a href="/company/center/message">
                            <i class="icon-envelope-alt"></i>&nbsp;&nbsp;全部私信
                            <span class="badge">{{ $unread?:'' }}</span>
                        </a>
                    </li>
                    <li class="bodertop"><a href="/company/center/companyinfo-default"><i class="icon-cogs"></i>&nbsp;&nbsp;企业信息</a></li>
                    <li class="bodertop"><a href="/logout"><i class="icon-off"></i>&nbsp;&nbsp;退出</a></li>
                </ul>
                @elseif($authuser->group_id == 1)
                <ul class="dropdown-menu-user">
                    <li><a href="{{url('/member/resume')}}"><i class="icon-user"></i>&nbsp;&nbsp;我的简历</a></li>
                    <li class="bodertop"><a href="{{url('/member/delivery')}}"><i class="icon-folder-close"></i>&nbsp;&nbsp;我的工作</a></li>
                    <li class="bodertop"><a href="{{url('/member/index')}}"><i class="icon-upload-alt"></i>&nbsp;&nbsp;我的上传</a></li>
                    <li class="bodertop"><a href="{{url('/member/comments/index')}}"><i class="icon-comments"></i>&nbsp;&nbsp;我的评论</a></li>
                    <li class="bodertop">
                        <a href="{{url('/member/message')}}">
                            <i class="icon-envelope-alt"></i>&nbsp;&nbsp;我的私信
                            <span class="badge">{{ $unread?:'' }}</span>
                        </a>
                    </li>
                    <li class="bodertop"><a href="{{url('/member/account')}}"><i class="icon-cogs"></i>&nbsp;&nbsp;账号设置</a></li>
                    <li class="bodertop"><a href="/admin/index"><i class="icon-cogs"></i>&nbsp;&nbsp;后台管理</a></li>
                    <li class="bodertop"><a href="/logout"><i class="icon-off"></i>&nbsp;&nbsp;退出</a></li>
                </ul>
                @endif
                @endif
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
    @show
    @yield('content')
    <!-- 底部 -->
    @section('footer')
    <div class="footer">
        <div class="footer-icon">
            <div class="footer-icon-share">
                <div id="show-weibo-img" class="fl cp" onclick="WeiBoUrl()">
                    <img src="/images/front/newweibo.png">
                    {{--  <img id="weibo-img" src="/images/front/wbcode.png"> --}}
                </div>
                <div id="show-weixin-img" class="fr cp">
                    <img src="/images/front/newweixin.png">
                    <img id="weixin-img" src="/images/front/wxcode.png">
                </div>
                <div class="clr"></div>
            </div>
        </div>
        <div class="footer-links">
            <ul class="clearfix">
                <li><a href="{{url('/content/about')}}">关于我们</a></li>
                <li><a href="{{url('/content/join')}}">合作加盟</a></li>
                <li><a href="{{url('/content/contact')}}">联系我们</a></li>
                <li><a href="{{url('/content/news')}}">新闻</a></li>
                <li><a href="{{url('/content/links')}}">友情链接</a></li>
            </ul>
        </div>
        <div class="footer-copy">
            <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1257700595'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s11.cnzz.com/z_stat.php%3Fid%3D1257700595%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
            <span>&copy;2015 Cimers 使用青苜前必读 {{$systeminfo['icp_beian']}}</span>
        </div>

    </div>
    @show
</body>
</html>